import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Element, { Message } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/css/main.css'
import '@/assets/css/global.css'
import http from './utils/axios'
import VideoPlayer from 'vue-video-player'


Vue.use(VideoPlayer)

Vue.config.productionTip = false

Vue.use(Element, {
  size: 'medium'
})
// 挂载axios
Vue.prototype.$http = http
// 挂载Message组件
Vue.prototype.$message = Message


new Vue({
  router: router,
  render: h => h(App),
}).$mount('#app')
